import "@babel/polyfill"
import Vue from "vue"
import App from "./App.vue"
import router from "./router"
import store from "./store"
import "./assets/style/reset.scss"
import "./assets/js/flexible"

import {
  Col,
  Row,
  Button,
  Cell,
  CellGroup,
  Icon,
  Search,
  Toast,
  Form,
  Field,
  Popup,
  Image,
  Tabbar,
  TabbarItem,
  Area,
  Swipe,
  SwipeItem,
  Rate,
  Tag,
  Uploader
} from "vant"

Vue.use(Col)
  .use(Row)
  .use(Button)
  .use(Cell)
  .use(CellGroup)
  .use(Icon)
  .use(Search)
  .use(Toast)
  .use(Form)
  .use(Field)
  .use(Popup)
  .use(Image)
  .use(Tabbar)
  .use(TabbarItem)
  .use(Area)
  .use(Swipe)
  .use(SwipeItem)
  .use(Rate)
  .use(Tag)
  .use(Uploader)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app")
